home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 45
/
Amiga Format CD45 (1999-09)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-11].iso
/
-serious-
/
misc
/
mcread
/
original
/
makefile
< prev
next >
Wrap
Makefile
|
1999-08-09
|
937b
|
45 lines
# makefile for mcread...
CC=cc
# Set the CC variable to the name of your preferred C compiler.
CCOPTS=-O
# Set CCOPTS to your usual options, like -O for optimized code, or
# -g for debugging symbols.
all: main.o macwrite.o mbinary.o wordwrap.o text.o
$(CC) main.o macwrite.o mbinary.o wordwrap.o text.o -o mcread
strip mcread
main.o: mcread.h main.c
$(CC) $(CCOPTS) -c main.c
macwrite.o: mcread.h macwrite.c
$(CC) $(CCOPTS) -c macwrite.c
text.o: mcread.h text.c
$(CC) $(CCOPTS) -c text.c
mbinary.o: mcread.h mbinary.c
$(CC) $(CCOPTS) -c mbinary.c
wordwrap.o: mcread.h wordwrap.c
$(CC) $(CCOPTS) -c wordwrap.c
clean:
rm -f *.o
shar:
shar *.c *.h Makefile mcREADME mwformat MACAtest.uu > mcread.shar
chmod 700 mcread.shar
tar:
uudecode MACAtest.uu
tar cfv mcread.tar *.c *.h Makefile mcREADME mwformat MACAtest.bin
rm MACAtest.bin
compress mcread.tar
uuencode mcread.tar.Z mcread.tar.Z > mcread.tar.Z.uu
# eof